<%@include file="/WEB-INF/include/jspTaglib.jsp" %>
<%@include file="/WEB-INF/include/jsTaglib.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>用户信息</title>
    <link rel="shortcut icon" href="${IMAGE}/favicon.ico"/>
    <link rel="stylesheet" href="${LAYUI}/css/layui.css">
    <%--<link rel="stylesheet" href="${CSS}/eleTree.css">--%>
    <style>
    .ele5{
    height: auto;
    width: 100%;
    display: none;
    position: absolute;
    top:100%;
    background-color: #fff;
    z-index: 100;
    }
    </style>
</head>
<body>

<div>
    <div class="demoTable">
        <div class="layui-inline">
            <input class="layui-input" name="id" id="demoReload" autocomplete="off">
        </div>
        <button class="layui-btn" data-type="reload">搜索</button>
        <button class="layui-btn" id="addBtn" >新增</button>
    </div>
    <table id="demoTreeTb"></table>
</div>
<div id="form" style="display: none;">
    <form class="layui-form ">

        <div class="layui-form-item">
            <label class="layui-form-label">父级菜单</label>
            <div class="layui-input-inline">
                <input type="text" name="parentMenuName"  placeholder="请选择父级菜单"  class="layui-input">
                <input type="text" name="parentId"  class="layui-input layui-hide">
                <div class="eleTree ele5" lay-filter="data5"></div>
            </div>
        </div>
        <%--<div class="layui-form-item">
            <label class="layui-form-label">父级菜单</label>
            <div class="layui-input-inline" >
                <input type="text" name="parentId" placeholder="请选择父级菜单" class="layui-input" id="parentIdTree">
            </div>
        </div>--%>
        <div class="layui-form-item">
            <label class="layui-form-label">菜单名称</label>
            <div class="layui-input-inline">
                <input type="text" name="menuName" placeholder="请输入菜单名称" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">访问路径</label>
            <div class="layui-input-inline">
                <input type="text" name="url" placeholder="请输入访问路径" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-inline">
                <input type="text" name="sort" placeholder="请输入排序号" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="button" class="layui-btn" lay-submit lay-filter="submitBtn">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<script src="${LAYUI}/layui.all.js"></script>
<script src="${JS}/menu/menu.js"></script>
</body>


</html>